package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.TaskRelation;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.TaskRelationVo;

import java.util.List;

public interface TdmTaskRelationMapper {
    int deleteByPrimaryKey(String TaskRelationId);

    int insert(TaskRelation record);

    int insertSelective(TaskRelation record);

    TaskRelation selectByPrimaryKey(String TaskRelationId);

    int updateByPrimaryKeySelective(TaskRelation record);

    int updateByPrimaryKey(TaskRelation record);

    List<TaskRelationVo> queryList(TaskRelationVo taskRelationVo);

    Integer queryCount(TaskRelationVo taskRelationVo);

    List<TaskRelationVo> queryChangeManageList(TaskRelationVo taskRelationVo);

    Integer queryChangeManageCount(TaskRelationVo taskRelationVo);

    TaskRelation selectMasterTaskByRelatedTaskId(String taskId);

    List<TaskRelation> selectRelatedTaskByMasterTaskId(String masterTaskId);

    List<TaskRelationVo> selectNameByMasterTaskId(String masterTaskId);
}